package com.kl.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@Accessors(chain = true)
public class TbContactsDTO {
    private Long tbId;
    private String tbContactsname;
    private String tbPhone;
    private String tbLandline;
    private Integer county;
    private Integer city;
    private Integer province;
    private String tbAddressadd;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date tbStarttime;
    private String tbUsername;
    private Integer status;
}
